﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true"
    CodeBehind="Default.aspx.cs" Inherits="Framework.Default" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <link href="/Css/camera.css" rel="stylesheet" />
    <script src="/Js/camera.min.js"></script>
    <script src="Js/jquery.easing.1.3.js"></script>
    <script type="text/javascript">
        $(document).ready(function () {
            jQuery('#camera_wrap_1').camera({
                autoplay: true,
                thumbnails: false,
                height: '260px',
                navigationHover: false,
                pagination: false,
                loader: false
            });
        })
    </script>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
                    <div class="main-slider">
            <div class="camera_wrap camera_emboss" id="camera_wrap_1">
                 <asp:Repeater ID="rptSlide" runat="server">
                                            <ItemTemplate>
                                                  <div data-src="<%# DGSFramework.ConfigPaths.Path_ImageBanner_Folder.Substring(1) + Eval("src") %>">
                                                  </div>
                                            </ItemTemplate>
                                        </asp:Repeater>
                        </div>
                    </div>
                <asp:Repeater ID="rptArt" runat="server">
                    <ItemTemplate>
                        <div class="blog-content" style="width: 50%; float: left">
                    <div class="blog-title no-paddingleft"><p><%# DGSFramework.Globals.GetLanguage(Eval("Title"), Eval("Title_en"),true) %></p></div>
                <div class="blog-large-item blog-event-item">
                    <div class="event-header" style="width: 100%;">
<a href="<%# ResolveUrl("~/" + DGSFramework.Globals.GetUrl(Eval("UrlRewrite").ToString(), DGSFramework.Globals.GetUrlAspx(Eval("UrlRewrite").ToString(), false) + Eval("ArticleID").ToString())) %>"
                                        title="<%# DGSFramework.Globals.GetLanguage(Eval("Title"), Eval("Title_en"), true)%>"">                                                                   <img style="width:100%; height: 225px;" src="<%# DGSFramework.ConfigPaths.Path_ImageArticle_Folder.Substring(1) + Eval("ImageUrl")%>"
                                                    ="<%# !string.IsNullOrEmpty(Eval("ImageAlt").ToString()) ? Eval("ImageAlt").ToString() : Eval("Title").ToString() %>">

                                         </a>                                                                                                 
                            </div>
                 
                        </div>
                            </div>
                    </ItemTemplate>
                </asp:Repeater>               
</asp:Content>
